
#include "main.h"


using namespace std;

#include "../base/Object.h"
#include "../base/EventManager.h"
#include "../base/EventInterface.h"
#include "../test/event_test.h"

#include "GameAppDelegate.h"
#include "Application.h"


int WINAPI WinMain(
	HINSTANCE hInstance,
	HINSTANCE hPrevInstance,
	LPSTR lpCmdLine,
	int nCmdShow
)
{
	UNREFERENCED_PARAMETER(hPrevInstance);
	UNREFERENCED_PARAMETER(lpCmdLine);

	std::unique_ptr<GameAppDelegate> app_delegate = std::make_unique<GameAppDelegate>();
	auto app=Application::getInstance();
	app->setAppDelegte(app_delegate.get());
	return app->run();
}
